﻿using DailyApp.Infrastructure.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daily.Infrastructure.Helper
{
    public  class ApiRouteHelper
    {
        public static string GetRoute(ApiRoute route)
        {
            return route switch
            {
                ApiRoute.Registor => "Login/Registor",
                ApiRoute.Login => "Login/Login",
                _ => throw new ArgumentException("Invalid API route")
            };
        }
    }
}
